package com.tz.yiqingapp.bean;

import lombok.Data;

@Data
public class DoctorBean {

    public DoctorBean (Doctor doctor1){

        this.setId(doctor1.getId());
        this.setHid(doctor1.getHid());
        this.setStatus(doctor1.getStatus());
        this.setPhone(doctor1.getPhone());
        this.setName(doctor1.getName());
        this.setPassword(doctor1.getPassword());
        this.setRealname(doctor1.getRealname());
        this.setSubject(doctor1.getSubject());
    }
    long id;

    private String name;
    private String password;
    private String phone;
    private String realname;
    private String subject;
    private int hid;

    Hosptial hosptial;
    int status;
}
